package com.backstage.pojo.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class SysPermission {
  @JsonSerialize(using= ToStringSerializer.class)
  private Long id;
  private String name;
  private String url;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long type;
  private String permission;
  private String method;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long sort;
  @JsonSerialize(using= ToStringSerializer.class)
  private Long parentId;
}
